package com.zimi.mapper;

import com.zimi.model.WfSystask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WfSystaskMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WfSystask record);

    int insertSelective(WfSystask record);

    WfSystask selectByPrimaryKey(Integer id);

    WfSystask selectById(Integer id);

    int updateByPrimaryKeySelective(WfSystask record);

    int updateByPrimaryKey(WfSystask record);

    List<WfSystask> selectAll(WfSystask record);

    @Select("SELECT LAST_INSERT_ID() as id")
    int lastInsertId();
}